package  com.zerosky.crm.dao;

import java.util.List;
import java.util.Map;

import com.zerosky.crm.po.CustomerFollowRecords;

/**Customerfollowrecords数据接口
 * @author hugy;
 * @since 2017-06-08
 */
public interface CustomerFollowRecordsDAO{
	
	/**Customerfollowrecords列表数据接口
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public List<CustomerFollowRecords> getCustomerFollowRecordsList(Map map);

	public int countCustomerFollowRecords(Map map);
	/**通过主键查找Customerfollowrecords数据接口 
	 * @param id Customerfollowrecords主键
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public CustomerFollowRecords getCustomerFollowRecordsById(String id);

	/**新增Customerfollowrecords数据接口
	 * @param Customerfollowrecords 实体对象
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public int addCustomerFollowRecords(CustomerFollowRecords customerFollowRecords) throws Exception;
	
	/**修改Customerfollowrecords数据接口
	 * @param Customerfollowrecords 实体对象
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public int updateCustomerFollowRecords(CustomerFollowRecords customerFollowRecords) throws Exception;

	/**通过主键删除Customerfollowrecords数据接口
	 * @param id Customerfollowrecords主键
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public int deleteCustomerFollowRecordsById(String id) throws Exception;	 
}
